package com.yidu.boss.sys.dao;

import com.yidu.boss.sys.domain.Bond;
import java.util.List;

import com.yidu.boss.sys.domain.BondExample;
import org.apache.ibatis.annotations.Param;

public interface BondMapper {
    long countByExample(BondExample example);

    int deleteByExample(BondExample example);

    int deleteByPrimaryKey(String bondid);

    int insert(Bond record);

    int insertSelective(Bond record);

    List<Bond> selectByExample(BondExample example);

    Bond selectByPrimaryKey(String bondid);

    int updateByExampleSelective(@Param("record") Bond record, @Param("example") BondExample example);

    int updateByExample(@Param("record") Bond record, @Param("example") BondExample example);

    int updateByPrimaryKeySelective(Bond record);

    int updateByPrimaryKey(Bond record);

    //模糊查询所有
    List<Bond> selectSomeByMore(String condition);
}